<template>
  <div id="app">
    <nav>
      <router-link to="/">Home</router-link> |
      <router-link to="/beauty">Beauty</router-link> |
      <router-link to="/map">map辅助函数</router-link> |
      <router-link to="/mda">模块A(无命名空间)</router-link> |
      <router-link to="/mdb">模块B(设置了命名空间)</router-link> |
      <router-link to="/scss">scss</router-link>
      <router-link to="/about">About</router-link>
    </nav>
    <router-view/>
  </div>
</template>

<style>
  *{padding: 0;margin: 0;}
  a{
    color:inherit;
    text-decoration: none;
  }
  li{
    list-style: none;
  }
  #app{
    padding:8px;
  }
  #app nav{
    margin-bottom: 20px;
  }
  .router-link-exact-active{
    color:#6ff;
  }
</style>
